package org.wyz.domain;

import org.apache.ibatis.type.Alias;

/**
 * Created by wyz on 2018/1/22.
 */
@Alias("Role")
public class Role {

    private Long   id;    // 角色ID
    private String name;  // 角色名

    public Role() {
    }
    public Role(Long id, String name) {
        this.id = id;
        this.name = name;
    }

    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
}
